<%@ page import="Demo1.Dept" %><%--
  Created by IntelliJ IDEA.
  User: 30539
  Date: 2023/11/17
  Time: 16:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Dept dept = (Dept)request.getAttribute("Dept");
%>
<html>
<head>
    <title>修改数据</title>
</head>
<body>
    <form action="http://localhost:8080<%=request.getContextPath()%>/dept/modify" method="post">
        部门编号<input type="text" name="deptno" value="<%=dept.getDeptno()%>" readonly="readonly"><br/>
        部门名称<input type="text" name="dname" value="<%=dept.getDname()%>"><br/>
        部门位置<input type="text" name="loc" value="<%=dept.getLoc()%>"><br/>
        <input type="submit" value="修改"/> &nbsp;&nbsp;
        <input type="button" value="返回" onclick="window.history.back()">
    </form>
</body>
</html>
